package cn.tedu.system.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ProductIsAParam {
    @ApiModelProperty(value = "商家id")
    private Long merchantId;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品单位")
    private String unit;
    @ApiModelProperty(value = "商品产地")
    private String origin;
    @ApiModelProperty(value = "商品图片URL")
    private String imageUrls;
    //修改
    @ApiModelProperty(value = "产品ID", required = true)
    private Long id;
    @ApiModelProperty(value = "产品创建时间", required = true)
    private Date createTime;
    @ApiModelProperty(value = "产品更新时间", required = true)
    private Date updateTime;
    @ApiModelProperty(value = "是否为农业产品", required = true)
    private String isAgriculture;
    @ApiModelProperty(value = "促销价格", required = true)
    private Double discountPrice;
    @ApiModelProperty(value = "状态", required = true)
    private Integer status;
    @ApiModelProperty(value = "描述", required = true)
    private String description;
    @ApiModelProperty(value = "价格", required = true)
    private Double price;
    @ApiModelProperty(value = "库存", required = true)
    private Integer stock;
    @ApiModelProperty(value = "销量", required = true)
    private Integer sales;
}
